/*
 * @Author: lvye
 * @Description:
 * @Date: 2023-07-03 16:51:29
 * @LastEditTime: 2023-10-12 15:34:52
 * @FilePath: \vue3-ts\src\service\request\config.ts
 */
let BASE_URL = ""
const TIME_OUT = 10000
console.log(process.env.NODE_ENV, "process.env.NODE_ENV")
console.log(process.env.VUE_APP_ENV, "process.env.VUE_APP_ENV")
if (process.env.NODE_ENV === "development") {
  BASE_URL = "/api"
} else if (process.env.NODE_ENV === "production") {
  BASE_URL = "/api"
} else {
  BASE_URL = "http://hn216.api.yesapi.cn/api/App/User"
}
export { BASE_URL, TIME_OUT }
